var minWidth = 320
var maxWidth = 765
var scale = 375
var ScreenWidth = document.documentElement.clientWidth
if (ScreenWidth < minWidth) {
ScreenWidth = minWidth
} else if (ScreenWidth > maxWidth) {
ScreenWidth = maxWidth
}
document.getElementById('g-html').style.fontSize = ScreenWidth / (scale / 100) + 'px'
window.onresize = function () {
ScreenWidth = document.documentElement.clientWidth
if (ScreenWidth < minWidth) {
  ScreenWidth = minWidth
} else if (ScreenWidth > maxWidth) {
  ScreenWidth = maxWidth
}
document.getElementById('g-html').style.fontSize = ScreenWidth / (scale / 100) + 'px'
}
